#!/usr/bin/env bash

if [ -n "$ext_cf_base_url" ]; then
    export BASE_URL="$ext_cf_base_url"
fi

if [ -n "$ext_cf_code" ]; then
    export CODE="$ext_cf_code"
fi

export NODE_PATH=/opt/node_modules
export PATH=$PATH:$NODE_PATH/.bin
export PORT=9000
npm start
